import request from '@/utils/request'
import qs from 'qs'
//09、停电公告-删除
export function powerDelete(data) {
  return request({
    url: '/expandFunction/tdgg/delete',
    headers: { 'content-type': 'application/x-www-form-urlencoded' },
    method: 'post',
    data: qs.stringify(data)
  })
}


//     10、停电公告-读取
export function powerDetail(data) {
  return request({
    url: '/expandFunction/tdgg/get',
    headers: { 'content-type': 'application/x-www-form-urlencoded' },
    method: 'post',
    data: qs.stringify(data)
  })
}
//  08、停电公告-读取列表
export function powerList(data) {
  return request({
    url: '/expandFunction/tdgg/list',
    headers: { 'content-type': 'application/x-www-form-urlencoded' },
    method: 'post',
    data: qs.stringify(data)
  })
}

//  07、停电公告-录入或更新
export function powerAdd(data) {
  return request({
    url: '/expandFunction/tdgg/save',
    method: 'post',
    data: data
  })
}










